Allows drag and drop of a layer.This Action needs to execute before
the layer can be dragged, so you must attach it to an initialization
event such as BODY onLoad.
When the layer is dropped, the upper-left corner will snap to the target
if within range, and the JavaScript will execute. If the target is blank,
the JavaScript will execute every time the object is dropped. Movement
constraints are relative to the original layer position. For example:
to make a vertical slider, set constraints to Up: 100, Down: 100, Left:
0, Right: 0. If a value is blank, movement will not be constrained in
that direction.
|